<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[]>
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en">
    <head>
        <!--
        Created by Artisteer v3.0.0.39952
        Base template (without user's data) checked by http://validator.w3.org : "This page is valid XHTML 1.0 Transitional"
        -->
        
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>Welcome To PersonaFilm</title>
        <meta name="description" content="Description" />
        <meta name="keywords" content="Keywords" />


        <link rel="stylesheet" href="<?=base_url()?>css/style.css" type="text/css" />
        <link rel="stylesheet" href="<?=base_url()?>css/stylecss1.css" type="text/css" />
        <link rel="stylesheet" href="<?=base_url()?>css/stylecss2.css" type="text/css" />
        <link rel="stylesheet" href="<?=base_url()?>css/example.css" type="text/css" />
        <script type="text/javascript" src="<?=base_url()?>javascript/tabber.js"></script>
        <script type="text/javascript" src="<?=base_url()?>javascript/tabber-minimized.js"></script>
        
        <!--[if IE 6]><link rel="stylesheet" href="../css/style.ie6.css" type="text/css" media="screen" /><![endif]-->
        <!--[if IE 7]><link rel="stylesheet" href="../css/style.ie7.css" type="text/css" media="screen" /><![endif]-->

        <script type="text/javascript" src="jquery.js"></script>
        <script type="text/javascript" src="script.js"></script>
    </head>
    <body>
        <div id="art-main">
            <div class="art-header">
                <div class="art-header-clip">
                    <div class="art-header-center">
                        <div class="art-header-png"></div>
                        <div class="art-header-jpeg"></div>
                    </div>
                </div>
                <div class="art-header-wrapper">
                    <div class="art-header-inner">
                        <div class="art-logo">
                            <h1 class="art-logo-name"><a href="./index.html">PersonaFilm</a></h1>
                            <!--<h2 class="art-logo-text">Enter Site Slogan</h2>-->
                        </div>
                    </div>
                </div>
            </div>
            <div class="cleared reset-box"></div>
            <div class="art-nav">
                <div class="art-nav-outer">
                    <div class="art-nav-wrapper">
                        <div class="art-nav-inner">
                            <ul class="art-hmenu">
                                <li>
                                   <?php echo anchor ('similarityControl/similarityGenre', 'Skor PT'); ?>
                                </li>
                                <li>
                                    <?php echo anchor ('recommendationControl/recommendation', 'Rekomendasi Film'); ?>
                                </li>
                                <li>
                                    <?php echo anchor ('feebackControl/showFeedbackPage', 'Feedback'); ?>
                                </li>
                                <li>
                                    <?php echo anchor ('userPageControl/logout', 'Logout'); ?>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="cleared reset-box"></div>
            <div class="art-sheet">
                <div class="art-sheet-tl"></div>
                <div class="art-sheet-tr"></div>
                <div class="art-sheet-bl"></div>
                <div class="art-sheet-br"></div>
                <div class="art-sheet-tc"></div>
                <div class="art-sheet-bc"></div>
                <div class="art-sheet-cl"></div>
                <div class="art-sheet-cr"></div>
                <div class="art-sheet-cc"></div>
                <div class="art-sheet-body">
                    <div class="art-content-layout">
                        <div class="art-content-layout-row">
                            <div class="art-layout-cell art-content">
                                <div class="art-post">
                                    <div class="art-post-tl"></div>
                                    <div class="art-post-tr"></div>
                                    <div class="art-post-bl"></div>
                                    <div class="art-post-br"></div>
                                    <div class="art-post-tc"></div>
                                    <div class="art-post-bc"></div>
                                    <div class="art-post-cl"></div>
                                    <div class="art-post-cr"></div>
                                    <div class="art-post-cc"></div>
                                    <div class="art-post-body">
                                        <div class="art-post-inner art-article">
                                            
                                            <div class="cleared"></div> 
     				<?php echo form_open('recommendationcontrol/recommendation')?>
     				<center><h2>Similarity</h2></center>
     				<br/>
   <center>  				
<table border = "1">
	<tr>
		<td>NEUROTICSM</td>
		<td>EXTRAVERSION</td>
		<td>OPENNESS</td>
		<td>AGREEABLENESS</td>
		<td>CONSCIENTIOUSNESS</td>
	</tr>
	<tr>
	<?php foreach ($konversi as $konv){?>
		<td><?php echo $konv; ?></td>
	<?php }?>
	</tr>				
</table>
</center>
<br>
<center>Nilai PT Genre</center>
<br/>
<center>
<table border = "1">
	<tr>
		<td>GENRE</td>
		<td>NEUROTICSM</td>
		<td>EXTRAVERSION</td>
		<td>OPENNESS</td>
		<td>AGREEABLENESS</td>
		<td>CONSCIENTIOUSNESS</td>
		<td>SIMILARITY</td>
	</tr>
	<?php for ($i = 0; $i < count($ptgenre); $i++){?>
	<tr>
		<td><?php echo $genre[$i][0]->GENREDOM; ?></td>
		<td><?php echo $ptgenre[$i][0]->SKORNEURO; ?></td>
		<td><?php echo $ptgenre[$i][0]->SKOREXTRA; ?></td>
		<td><?php echo $ptgenre[$i][0]->SKOROPEN; ?></td>
		<td><?php echo $ptgenre[$i][0]->SKORAGREE; ?></td>
		<td><?php echo $ptgenre[$i][0]->SKORCONSCIENT; ?></td>
		<td><?php echo $similar[$i]; ?></td>
	</tr>
	<?php }?>	
				
</table>
</center>
<center> <?php echo form_submit('submit', 'Continue');?></center>
<?php echo form_close()?>
  										</div>
                <div class="cleared"></div>

		<div class="cleared"></div>
    </div>
</div>
	
	
                      <div class="cleared"></div>
                    </div>
                </div>
            </div>
			<br />
            <div class="cleared"></div>
            <div class="art-footer">
                <div class="art-footer-t"></div>
                <div class="art-footer-l"></div>
                <div class="art-footer-b"></div>
                <div class="art-footer-r"></div>
                <div class="art-footer-body">
                    <a href="#" class="art-rss-tag-icon" title="RSS"></a>
                            <div class="art-footer-text">
                                <p><a href="#">Previous Page</a> | <a href="#">Next Page</a>
                                                            </div>
                    <div class="cleared"></div>
                </div>
            </div>
    		<div class="cleared"></div>
        </div>
    </div>
    <div class="cleared"></div>
    <p class="art-page-footer"><a href="http://www.2createawebsite.com/artisteer">Website Template created with Artisteer</a>.</p>
</div>

</body>
</html>